const { override, fixBabelImports, addWebpackAlias } = require('customize-cra');
const path = require('path');
module.exports = override(
  // 引入组件库antd-mobile
    fixBabelImports('import', {
      libraryName: 'antd-mobile',
      style: 'css',
    }),
    // 配置路径别名
    addWebpackAlias({
      "pages": path.join(__dirname, './src/pages')
    })
  );